import java.util.Random;
import java.util.Scanner;

public class GuessNumbers {
    public static void main(String[] args) {

        while (true) {
            Random r = new Random();
            int suiJi = r.nextInt(100) + 1;
            Scanner scanner = new Scanner(System.in);
            int num = scanner.nextInt();

            while (true) {
                int i = 0;
                i++;

                if (i <= 7) {
                    if (num == suiJi) {
                        System.out.println("猜对了");
                    } else if (num > suiJi) {
                        System.out.println("猜大了");
                    } else if (num < suiJi) {
                        System.out.println("猜小了");
                    }
                } else {
                    break;
                }
            }
            boolean b = scanner.nextBoolean();
            if(!b){
                break;
            }


        }

    }
}
